package com.yiyang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("分页公共对象")
public class ResultPage<T> {
    @ApiModelProperty("总条数")
    private Long total;
    @ApiModelProperty("当前页要展示的数据集合")
    private List<T> list ;
}
